package com.yingxin.yx.framework.commons.utlis;

public class WidthUtils {

    /**
     * 开始宽度
     */
    private static final int BEGIN_WIDTH = 500;

    /**
     * 结束宽度
     */
    private static final int END_WIDTH = 1500;

    /**
     * 验证宽度是否在指定区间范围内
     * @param widht
     */
    public static boolean checkWdith(int widht){
        if( widht >= BEGIN_WIDTH && widht <= END_WIDTH ){
            return true;
        }
        return false;
    }
}
